package com.business.user.service;


import com.baomidou.mybatisplus.plugins.Page;
import com.business.common.dto.R;
import com.business.user.entity.UserDataQuantity;

/**
 * 用户数据统计表:业务接口类
 * @author chenjiehong
 * @date 2019-11-29 14:28:27
 * @since 1.0
 */
public interface UserDataQuantityService {
    
    /**
     * 添加数量
     * 
     * 
     * @param userId
     * @param quantity
     * @param module
     * @date 2019-11-29 14:28:27
     */
    Integer addNumber(Integer userId,Integer quantity ,String module);


    /**
     * 查询
     * @param userId
     * @return
     */
    UserDataQuantity queryByUser(Integer userId);

}